
define(['config/appregister',"jquery","slide"],function(app){
    app.directive("lunboVideo",function(){
        return {
            templateUrl:"app/business/videoIndex/directive/template/lunbo.html",
            link:function(scope,element,attrs){
                $(document ).ready(function() {
                    $('#example5').sliderPro({
                        width: 909,
                        height: 402,
                        orientation: 'horizontal',
                        loop: true,
                        arrows: true,
                        buttons: false,
                        thumbnailsPosition: 'right',
                        thumbnailPointer: true,
                        thumbnailWidth: 291,
                        thumbnailHeight: 99,
                        imageScaleMode:"cover",
                        breakpoints: {
                            800: {
                                thumbnailsPosition: 'bottom',
                                thumbnailWidth: 0,
                                thumbnailHeight: 0
                            },
                            500: {
                                thumbnailsPosition: 'bottom',
                                thumbnailWidth: 0,
                                thumbnailHeight: 0
                            }
                        }
                    });
                });



            }
        }
    });
});

